# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
# Generator  : CPANPLUS::Dist::Arch 1.25

pkgname=perl-mime-base32
pkgver=1.303
pkgrel=8
pkgdesc="Base32 encoder / decoder"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
url='https://search.cpan.org/dist/MIME-Base32'
source=("https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/MIME-Base32-$pkgver.tar.gz")
sha512sums=('48c2541d08976fba154816d4f803cc20d8d51f8a7e4084cd85e23f7559868611adcce133f7dd8728cb21bbec67c325a99e68e36149b4ae3bfae97a6e57f4b806')

build() {
  cd "$srcdir"/MIME-Base32-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir"/MIME-Base32-$pkgver
  make test
}

package() {
  cd "$srcdir"/MIME-Base32-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
